package com.hm.recycle.mongo.domain;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.hm.common.model.BaseModel;
import com.hm.common.model.BaseVo;
import com.hm.common.util.DbDocumentDef;
import com.hm.recycle.mongo.util.RecycleMongoDataDef;

/**
 * @author shishun.wang
 * @date 下午4:53:59 2016年5月30日
 * @version 1.0
 * @describe
 */
@Document(collection = RecycleMongoDataDef.Db.Mongo.PREFIX + "db_documnet_new_recycle")
public class DbDocumentNewRecycle extends BaseModel {

	private static final long serialVersionUID = 1L;

	@Field("document_def")
	private DbDocumentDef documentDef;

	@Field("target_content")
	private BaseVo targetContent;

	public DbDocumentDef getDocumentDef() {
		return documentDef;
	}

	public void setDocumentDef(DbDocumentDef documentDef) {
		this.documentDef = documentDef;
	}

	public BaseVo getTargetContent() {
		return targetContent;
	}

	public void setTargetContent(BaseVo targetContent) {
		this.targetContent = targetContent;
	}

}
